package myBatis_Test;

import MybatisDemo.sqlSession;
import org.dom4j.DocumentException;

import java.beans.PropertyVetoException;
import java.io.FileNotFoundException;
import java.util.List;

public class Test
{
	public static void main(String[] args) throws PropertyVetoException, DocumentException, FileNotFoundException
	{
		sqlSession session = new sqlSession();
		deptImple deptimple = session.getMapperObject(deptImple.class);
		List<dept> depts = deptimple.Seletct();
		for(dept d:depts)
		{
			System.out.println(d);
		}
	}
}
